package com.heima.search.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.UserSearchDto;
import org.springframework.web.bind.annotation.RequestBody;

import java.io.IOException;

/**
 * ClassName: ArticleSearchService
 * Package: com.heima.search.service
 * Description:
 *
 * @Author 周阳阳
 * @Create 2024/10/22 11:35
 * @Version 1.0
 */
public interface ArticleSearchService {
    /**
     * ES文章分页检索
     * @param dto
     * @return
     */
    public ResponseResult search(UserSearchDto dto) throws IOException;
}
